namespace = SoA

########################################
# Activation and destination selection
########################################

long_character_event = {
	id = SoA.5000
	title = CR_PILGRIM_5000_TITLE
	desc = CR_PILGRIM_5000_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes

	trigger = { has_character_flag = activated_pilgrimage }

	option = {
		name = CR_PILGRIM_5000_A
		trigger = { ai = no }
		clr_character_flag = activated_pilgrimage
		set_character_flag = preparing_pilgrimage
		long_character_event = { id = SoA.5001 }
	}
	option = {
		name = CR_PILGRIM_5000_A
		trigger = { ai = yes }
		clr_character_flag = activated_pilgrimage
		set_character_flag = preparing_pilgrimage
		cr_pilgrimage_clear_destination_flags_effect = yes
		random_list = {
			10 = { set_character_flag = cr_pilgrimage_to_jerusalem }
			10 = { set_character_flag = cr_pilgrimage_to_rome }
			10 = { set_character_flag = cr_pilgrimage_to_santiago }
			10 = { set_character_flag = cr_pilgrimage_to_canterbury }
			10 = { set_character_flag = cr_pilgrimage_to_cologne }
			10 = { set_character_flag = cr_pilgrimage_to_constantinople }
			10 = { set_character_flag = cr_pilgrimage_to_antioch }
			10 = { set_character_flag = cr_pilgrimage_to_axum }
			10 = { set_character_flag = cr_pilgrimage_to_alexandria }
			10 = { set_character_flag = cr_pilgrimage_to_aachen }
			10 = { set_character_flag = cr_pilgrimage_to_ephesus }
			10 = { set_character_flag = cr_pilgrimage_to_ravenna }
		}
		long_character_event = { id = SoA.5006 }
	}
}

long_character_event = {
	id = SoA.5001
	title = CR_PILGRIM_5001_TITLE
	desc = CR_PILGRIM_5001_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = preparing_pilgrimage }

	option = { name = CR_PILGRIM_DEST_JERUSALEM cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_jerusalem long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_DEST_ROME cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_rome long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_DEST_SANTIAGO cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_santiago long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_MORE_DESTINATIONS long_character_event = { id = SoA.5002 } }
}

long_character_event = {
	id = SoA.5002
	title = CR_PILGRIM_5002_TITLE
	desc = CR_PILGRIM_5002_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = preparing_pilgrimage }

	option = { name = CR_PILGRIM_DEST_CANTERBURY cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_canterbury long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_DEST_COLOGNE cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_cologne long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_DEST_CONSTANTINOPLE cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_constantinople long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_MORE_DESTINATIONS long_character_event = { id = SoA.5003 } }
}

long_character_event = {
	id = SoA.5003
	title = CR_PILGRIM_5003_TITLE
	desc = CR_PILGRIM_5003_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = preparing_pilgrimage }

	option = { name = CR_PILGRIM_DEST_ANTIOCH cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_antioch long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_DEST_AXUM cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_axum long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_DEST_ALEXANDRIA cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_alexandria long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_MORE_DESTINATIONS long_character_event = { id = SoA.5004 } }
}

long_character_event = {
	id = SoA.5004
	title = CR_PILGRIM_5004_TITLE
	desc = CR_PILGRIM_5004_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = preparing_pilgrimage }

	option = { name = CR_PILGRIM_DEST_AACHEN cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_aachen long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_DEST_EPHESUS cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_ephesus long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_DEST_RAVENNA cr_pilgrimage_clear_destination_flags_effect = yes set_character_flag = cr_pilgrimage_to_ravenna long_character_event = { id = SoA.5006 } }
	option = { name = CR_PILGRIM_CANCEL long_character_event = { id = SoA.5005 } }
}

long_character_event = {
	id = SoA.5005
	title = CR_PILGRIM_5005_TITLE
	desc = CR_PILGRIM_5005_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes

	option = {
		name = CR_PILGRIM_5005_A
		cr_pilgrimage_clear_journey_effect = yes
	}
}

########################################
# Departure and movement controller
########################################

long_character_event = {
	id = SoA.5006
	title = CR_PILGRIM_5006_TITLE
	desc = CR_PILGRIM_5006_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = preparing_pilgrimage }

	option = {
		name = CR_PILGRIM_5006_A
		cr_pilgrimage_begin_journey_effect = yes
	}
	option = {
		name = CR_PILGRIM_5006_B
		trigger = {
			ai = no
			wealth = 25
		}
		wealth = -25
		cr_pilgrimage_begin_journey_effect = yes
		cr_pilgrimage_spawn_ship_effect = yes
	}
}

# AI rulers cannot be ordered to move an army by script. This controller
# advances both legs while preserving the same escort, encounters, upkeep,
# destination event, permanent trait, and homecoming cleanup used by players.
character_event = {
	id = SoA.5090
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		ai = yes
		has_character_flag = cr_pilgrimage_active
		has_character_flag = cr_pilgrimage_ai_journey
		OR = {
			has_character_flag = cr_pilgrimage_outbound
			has_character_flag = cr_pilgrimage_returning
		}
	}

	immediate = {
		set_character_flag = cr_pilgrimage_moved_this_month
		cr_pilgrimage_suspend_neglect_effect = yes
		change_variable = { which = cr_pilgrimage_ai_progress value = 1 }

		if = {
			limit = {
				OR = {
					AND = {
						has_character_flag = cr_pilgrimage_ai_leg_short
						check_variable = { which = cr_pilgrimage_ai_progress value >= 4 }
					}
					AND = {
						has_character_flag = cr_pilgrimage_ai_leg_medium
						check_variable = { which = cr_pilgrimage_ai_progress value >= 6 }
					}
					AND = {
						has_character_flag = cr_pilgrimage_ai_leg_long
						check_variable = { which = cr_pilgrimage_ai_progress value >= 8 }
					}
				}
			}
			if = {
				limit = { has_character_flag = cr_pilgrimage_outbound }
				if = { limit = { has_character_flag = cr_pilgrimage_to_jerusalem } long_character_event = { id = SoA.5010 } }
				if = { limit = { has_character_flag = cr_pilgrimage_to_rome } long_character_event = { id = SoA.5011 } }
				if = { limit = { has_character_flag = cr_pilgrimage_to_santiago } long_character_event = { id = SoA.5012 } }
				if = { limit = { has_character_flag = cr_pilgrimage_to_canterbury } long_character_event = { id = SoA.5013 } }
				if = { limit = { has_character_flag = cr_pilgrimage_to_cologne } long_character_event = { id = SoA.5014 } }
				if = { limit = { has_character_flag = cr_pilgrimage_to_constantinople } long_character_event = { id = SoA.5015 } }
				if = { limit = { has_character_flag = cr_pilgrimage_to_antioch } long_character_event = { id = SoA.5016 } }
				if = { limit = { has_character_flag = cr_pilgrimage_to_axum } long_character_event = { id = SoA.5017 } }
				if = { limit = { has_character_flag = cr_pilgrimage_to_alexandria } long_character_event = { id = SoA.5018 } }
				if = { limit = { has_character_flag = cr_pilgrimage_to_aachen } long_character_event = { id = SoA.5019 } }
				if = { limit = { has_character_flag = cr_pilgrimage_to_ephesus } long_character_event = { id = SoA.5020 } }
				if = { limit = { has_character_flag = cr_pilgrimage_to_ravenna } long_character_event = { id = SoA.5021 } }
			}
			else_if = {
				limit = { has_character_flag = cr_pilgrimage_returning }
				long_character_event = { id = SoA.5022 }
			}
		}
		else = {
			random_list = {
				75 = { set_character_flag = cr_pilgrimage_dispatch_land }
				25 = { set_character_flag = cr_pilgrimage_dispatch_sea }
			}
			character_event = { id = SoA.5009 }
		}

		if = {
			limit = {
				has_character_flag = cr_pilgrimage_active
				has_character_flag = cr_pilgrimage_ai_journey
			}
			character_event = { id = SoA.5090 days = 20 }
		}
	}
}

character_event = {
	id = SoA.5008
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		has_character_flag = cr_pilgrimage_active
		has_earmarked_regiments = cr_pilgrimage_escort
		in_command = yes
		OR = {
			has_character_flag = cr_pilgrimage_outbound
			has_character_flag = cr_pilgrimage_returning
		}
	}

	immediate = {
		set_character_flag = cr_pilgrimage_moved_this_month
		cr_pilgrimage_suspend_neglect_effect = yes
		if = {
			limit = {
				has_character_flag = cr_pilgrimage_outbound
				OR = {
					AND = { has_character_flag = cr_pilgrimage_to_jerusalem location = { province_id = 774 } }
					AND = { has_character_flag = cr_pilgrimage_to_rome location = { province_id = 333 } }
					AND = { has_character_flag = cr_pilgrimage_to_santiago location = { province_id = 157 } }
					AND = { has_character_flag = cr_pilgrimage_to_canterbury location = { province_id = 73 } }
					AND = { has_character_flag = cr_pilgrimage_to_cologne location = { province_id = 119 } }
					AND = { has_character_flag = cr_pilgrimage_to_constantinople location = { province_id = 496 } }
					AND = { has_character_flag = cr_pilgrimage_to_antioch location = { province_id = 764 } }
					AND = { has_character_flag = cr_pilgrimage_to_axum location = { province_id = 875 } }
					AND = { has_character_flag = cr_pilgrimage_to_alexandria location = { province_id = 802 } }
					AND = { has_character_flag = cr_pilgrimage_to_aachen location = { province_id = 90 } }
					AND = { has_character_flag = cr_pilgrimage_to_ephesus location = { province_id = 746 } }
					AND = { has_character_flag = cr_pilgrimage_to_ravenna location = { province_id = 351 } }
				}
			}
			if = { limit = { has_character_flag = cr_pilgrimage_to_jerusalem } long_character_event = { id = SoA.5010 } }
			if = { limit = { has_character_flag = cr_pilgrimage_to_rome } long_character_event = { id = SoA.5011 } }
			if = { limit = { has_character_flag = cr_pilgrimage_to_santiago } long_character_event = { id = SoA.5012 } }
			if = { limit = { has_character_flag = cr_pilgrimage_to_canterbury } long_character_event = { id = SoA.5013 } }
			if = { limit = { has_character_flag = cr_pilgrimage_to_cologne } long_character_event = { id = SoA.5014 } }
			if = { limit = { has_character_flag = cr_pilgrimage_to_constantinople } long_character_event = { id = SoA.5015 } }
			if = { limit = { has_character_flag = cr_pilgrimage_to_antioch } long_character_event = { id = SoA.5016 } }
			if = { limit = { has_character_flag = cr_pilgrimage_to_axum } long_character_event = { id = SoA.5017 } }
			if = { limit = { has_character_flag = cr_pilgrimage_to_alexandria } long_character_event = { id = SoA.5018 } }
			if = { limit = { has_character_flag = cr_pilgrimage_to_aachen } long_character_event = { id = SoA.5019 } }
			if = { limit = { has_character_flag = cr_pilgrimage_to_ephesus } long_character_event = { id = SoA.5020 } }
			if = { limit = { has_character_flag = cr_pilgrimage_to_ravenna } long_character_event = { id = SoA.5021 } }
		}
		else_if = {
			limit = {
				has_character_flag = cr_pilgrimage_returning
				at_location = persistent_event_target:cr_pilgrimage_home
			}
			long_character_event = { id = SoA.5022 }
		}
		else_if = {
			limit = { is_at_sea = yes }
			set_character_flag = cr_pilgrimage_dispatch_sea
			character_event = { id = SoA.5009 }
		}
		else = {
			change_variable = { which = cr_pilgrimage_province_counter value = 1 }
			if = {
				limit = {
					OR = {
						AND = { has_character_flag = cr_pilgrimage_threshold_3 check_variable = { which = cr_pilgrimage_province_counter value >= 3 } }
						AND = { has_character_flag = cr_pilgrimage_threshold_4 check_variable = { which = cr_pilgrimage_province_counter value >= 4 } }
					}
				}
				set_variable = { which = cr_pilgrimage_province_counter value = 0 }
				cr_pilgrimage_randomize_land_threshold_effect = yes
				set_character_flag = cr_pilgrimage_dispatch_land
				character_event = { id = SoA.5009 }
			}
		}
	}
}

character_event = {
	id = SoA.5009
	hide_window = yes
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	immediate = {
		if = {
			limit = { has_character_flag = cr_pilgrimage_dispatch_sea }
			clr_character_flag = cr_pilgrimage_dispatch_sea
			random_list = {
				1 = { long_character_event = { id = SoA.5060 } }
				1 = { long_character_event = { id = SoA.5061 } }
				1 = { long_character_event = { id = SoA.5062 } }
				1 = { long_character_event = { id = SoA.5063 } }
				1 = { long_character_event = { id = SoA.5064 } }
				1 = { long_character_event = { id = SoA.5065 } }
				1 = { long_character_event = { id = SoA.5066 } }
				1 = { long_character_event = { id = SoA.5067 } }
				1 = { long_character_event = { id = SoA.5068 } }
				1 = { long_character_event = { id = SoA.5069 } }
				1 = { long_character_event = { id = SoA.5070 } }
				1 = { long_character_event = { id = SoA.5071 } }
				1 = { long_character_event = { id = SoA.5072 } }
				1 = { long_character_event = { id = SoA.5073 } }
				1 = { long_character_event = { id = SoA.5074 } }
				1 = { long_character_event = { id = SoA.5075 } }
				1 = { long_character_event = { id = SoA.5076 } }
				1 = { long_character_event = { id = SoA.5077 } }
				1 = { long_character_event = { id = SoA.5078 } }
				1 = { long_character_event = { id = SoA.5079 } }
				1 = { long_character_event = { id = SoA.5080 } }
				1 = { long_character_event = { id = SoA.5081 } }
				1 = { long_character_event = { id = SoA.5082 } }
				1 = { long_character_event = { id = SoA.5083 } }
				1 = { long_character_event = { id = SoA.5084 } }
				1 = { long_character_event = { id = SoA.5085 } }
				1 = { long_character_event = { id = SoA.5086 } }
				1 = { long_character_event = { id = SoA.5087 } }
				1 = { long_character_event = { id = SoA.5088 } }
				1 = { long_character_event = { id = SoA.5089 } }
			}
		}
		else_if = {
			limit = { has_character_flag = cr_pilgrimage_dispatch_land }
			clr_character_flag = cr_pilgrimage_dispatch_land
			random_list = {
				1 = { long_character_event = { id = SoA.5030 } }
				1 = { long_character_event = { id = SoA.5031 } }
				1 = { long_character_event = { id = SoA.5032 } }
				1 = { long_character_event = { id = SoA.5033 } }
				1 = { long_character_event = { id = SoA.5034 } }
				1 = { long_character_event = { id = SoA.5035 } }
				1 = { long_character_event = { id = SoA.5036 } }
				1 = { long_character_event = { id = SoA.5037 } }
				1 = { long_character_event = { id = SoA.5038 } }
				1 = { long_character_event = { id = SoA.5039 } }
				1 = { long_character_event = { id = SoA.5040 } }
				1 = { long_character_event = { id = SoA.5041 } }
				1 = { long_character_event = { id = SoA.5042 } }
				1 = { long_character_event = { id = SoA.5043 } }
				1 = { long_character_event = { id = SoA.5044 } }
				1 = { long_character_event = { id = SoA.5045 } }
				1 = { long_character_event = { id = SoA.5046 } }
				1 = { long_character_event = { id = SoA.5047 } }
				1 = { long_character_event = { id = SoA.5048 } }
				1 = { long_character_event = { id = SoA.5049 } }
				1 = { long_character_event = { id = SoA.5050 } }
				1 = { long_character_event = { id = SoA.5051 } }
				1 = { long_character_event = { id = SoA.5052 } }
				1 = { long_character_event = { id = SoA.5053 } }
				1 = { long_character_event = { id = SoA.5054 } }
				1 = { long_character_event = { id = SoA.5055 } }
				1 = { long_character_event = { id = SoA.5056 } }
				1 = { long_character_event = { id = SoA.5057 } }
				1 = { long_character_event = { id = SoA.5058 } }
				1 = { long_character_event = { id = SoA.5059 } }
			}
		}
	}
}
long_character_event = {
	id = SoA.5010
	title = CR_PILGRIM_5010_TITLE
	desc = CR_PILGRIM_5010_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5010_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_jerusalem_effect = yes }
	option = { name = CR_PILGRIM_5010_B cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_jerusalem_effect = yes }
	option = { name = CR_PILGRIM_5010_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_jerusalem_effect = yes }
	option = { name = CR_PILGRIM_5010_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_jerusalem_effect = yes }
}
long_character_event = {
	id = SoA.5011
	title = CR_PILGRIM_5011_TITLE
	desc = CR_PILGRIM_5011_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5011_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_rome_effect = yes }
	option = { name = CR_PILGRIM_5011_B cr_pilgrimage_resolve_diplomacy_effect = yes cr_pilgrimage_finish_rome_effect = yes }
	option = { name = CR_PILGRIM_5011_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_rome_effect = yes }
	option = { name = CR_PILGRIM_5011_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_rome_effect = yes }
}
long_character_event = {
	id = SoA.5012
	title = CR_PILGRIM_5012_TITLE
	desc = CR_PILGRIM_5012_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5012_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_santiago_effect = yes }
	option = { name = CR_PILGRIM_5012_B cr_pilgrimage_resolve_martial_effect = yes cr_pilgrimage_finish_santiago_effect = yes }
	option = { name = CR_PILGRIM_5012_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_santiago_effect = yes }
	option = { name = CR_PILGRIM_5012_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_santiago_effect = yes }
}
long_character_event = {
	id = SoA.5013
	title = CR_PILGRIM_5013_TITLE
	desc = CR_PILGRIM_5013_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5013_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_canterbury_effect = yes }
	option = { name = CR_PILGRIM_5013_B cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_canterbury_effect = yes }
	option = { name = CR_PILGRIM_5013_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_canterbury_effect = yes }
	option = { name = CR_PILGRIM_5013_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_canterbury_effect = yes }
}
long_character_event = {
	id = SoA.5014
	title = CR_PILGRIM_5014_TITLE
	desc = CR_PILGRIM_5014_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5014_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_cologne_effect = yes }
	option = { name = CR_PILGRIM_5014_B cr_pilgrimage_resolve_stewardship_effect = yes cr_pilgrimage_finish_cologne_effect = yes }
	option = { name = CR_PILGRIM_5014_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_cologne_effect = yes }
	option = { name = CR_PILGRIM_5014_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_cologne_effect = yes }
}
long_character_event = {
	id = SoA.5015
	title = CR_PILGRIM_5015_TITLE
	desc = CR_PILGRIM_5015_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5015_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_constantinople_effect = yes }
	option = { name = CR_PILGRIM_5015_B cr_pilgrimage_resolve_diplomacy_effect = yes cr_pilgrimage_finish_constantinople_effect = yes }
	option = { name = CR_PILGRIM_5015_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_constantinople_effect = yes }
	option = { name = CR_PILGRIM_5015_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_constantinople_effect = yes }
}
long_character_event = {
	id = SoA.5016
	title = CR_PILGRIM_5016_TITLE
	desc = CR_PILGRIM_5016_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5016_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_antioch_effect = yes }
	option = { name = CR_PILGRIM_5016_B cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_antioch_effect = yes }
	option = { name = CR_PILGRIM_5016_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_antioch_effect = yes }
	option = { name = CR_PILGRIM_5016_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_antioch_effect = yes }
}
long_character_event = {
	id = SoA.5017
	title = CR_PILGRIM_5017_TITLE
	desc = CR_PILGRIM_5017_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5017_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_axum_effect = yes }
	option = { name = CR_PILGRIM_5017_B cr_pilgrimage_resolve_diplomacy_effect = yes cr_pilgrimage_finish_axum_effect = yes }
	option = { name = CR_PILGRIM_5017_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_axum_effect = yes }
	option = { name = CR_PILGRIM_5017_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_axum_effect = yes }
}
long_character_event = {
	id = SoA.5018
	title = CR_PILGRIM_5018_TITLE
	desc = CR_PILGRIM_5018_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5018_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_alexandria_effect = yes }
	option = { name = CR_PILGRIM_5018_B cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_alexandria_effect = yes }
	option = { name = CR_PILGRIM_5018_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_alexandria_effect = yes }
	option = { name = CR_PILGRIM_5018_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_alexandria_effect = yes }
}
long_character_event = {
	id = SoA.5019
	title = CR_PILGRIM_5019_TITLE
	desc = CR_PILGRIM_5019_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5019_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_aachen_effect = yes }
	option = { name = CR_PILGRIM_5019_B cr_pilgrimage_resolve_diplomacy_effect = yes cr_pilgrimage_finish_aachen_effect = yes }
	option = { name = CR_PILGRIM_5019_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_aachen_effect = yes }
	option = { name = CR_PILGRIM_5019_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_aachen_effect = yes }
}
long_character_event = {
	id = SoA.5020
	title = CR_PILGRIM_5020_TITLE
	desc = CR_PILGRIM_5020_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5020_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_ephesus_effect = yes }
	option = { name = CR_PILGRIM_5020_B cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_ephesus_effect = yes }
	option = { name = CR_PILGRIM_5020_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_ephesus_effect = yes }
	option = { name = CR_PILGRIM_5020_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_ephesus_effect = yes }
}
long_character_event = {
	id = SoA.5021
	title = CR_PILGRIM_5021_TITLE
	desc = CR_PILGRIM_5021_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_outbound }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5021_A cr_pilgrimage_resolve_learning_effect = yes cr_pilgrimage_finish_ravenna_effect = yes }
	option = { name = CR_PILGRIM_5021_B cr_pilgrimage_resolve_diplomacy_effect = yes cr_pilgrimage_finish_ravenna_effect = yes }
	option = { name = CR_PILGRIM_5021_C cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_ravenna_effect = yes }
	option = { name = CR_PILGRIM_5021_D cr_pilgrimage_resolve_sacred_intimacy_effect = yes cr_pilgrimage_finish_ravenna_effect = yes }
}
long_character_event = {
	id = SoA.5022
	title = CR_PILGRIM_5022_TITLE
	desc = CR_PILGRIM_5022_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active has_character_flag = cr_pilgrimage_returning }

	option = {
		name = CR_PILGRIM_5022_A
		piety = 100
		prestige = 100
		cr_pilgrimage_clear_journey_effect = yes
		cr_pilgrimage_clear_neglect_effect = yes
	}
}
# Traveling pilgrims
long_character_event = {
	id = SoA.5030
	title = CR_PILGRIM_5030_TITLE
	desc = CR_PILGRIM_5030_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5030_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5030_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A roadside inn
long_character_event = {
	id = SoA.5031
	title = CR_PILGRIM_5031_TITLE
	desc = CR_PILGRIM_5031_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5031_A cr_pilgrimage_resolve_stewardship_effect = yes }
	option = { name = CR_PILGRIM_5031_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A merchant caravan
long_character_event = {
	id = SoA.5032
	title = CR_PILGRIM_5032_TITLE
	desc = CR_PILGRIM_5032_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5032_A cr_pilgrimage_resolve_stewardship_effect = yes }
	option = { name = CR_PILGRIM_5032_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A local fair
long_character_event = {
	id = SoA.5033
	title = CR_PILGRIM_5033_TITLE
	desc = CR_PILGRIM_5033_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5033_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5033_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Traveling clergy
long_character_event = {
	id = SoA.5034
	title = CR_PILGRIM_5034_TITLE
	desc = CR_PILGRIM_5034_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5034_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5034_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A roadside rite
long_character_event = {
	id = SoA.5035
	title = CR_PILGRIM_5035_TITLE
	desc = CR_PILGRIM_5035_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5035_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5035_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A quiet evening
long_character_event = {
	id = SoA.5036
	title = CR_PILGRIM_5036_TITLE
	desc = CR_PILGRIM_5036_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5036_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5036_B cr_pilgrimage_resolve_caution_effect = yes }
}
# An argument among pilgrims
long_character_event = {
	id = SoA.5037
	title = CR_PILGRIM_5037_TITLE
	desc = CR_PILGRIM_5037_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5037_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5037_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A robbery attempt
long_character_event = {
	id = SoA.5038
	title = CR_PILGRIM_5038_TITLE
	desc = CR_PILGRIM_5038_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5038_A cr_pilgrimage_resolve_martial_effect = yes }
	option = { name = CR_PILGRIM_5038_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Illness on the road
long_character_event = {
	id = SoA.5039
	title = CR_PILGRIM_5039_TITLE
	desc = CR_PILGRIM_5039_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5039_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5039_B cr_pilgrimage_resolve_caution_effect = yes }
}
# An injured traveler
long_character_event = {
	id = SoA.5040
	title = CR_PILGRIM_5040_TITLE
	desc = CR_PILGRIM_5040_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5040_A cr_pilgrimage_resolve_martial_effect = yes }
	option = { name = CR_PILGRIM_5040_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Noble hospitality
long_character_event = {
	id = SoA.5041
	title = CR_PILGRIM_5041_TITLE
	desc = CR_PILGRIM_5041_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5041_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5041_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A charitable appeal
long_character_event = {
	id = SoA.5042
	title = CR_PILGRIM_5042_TITLE
	desc = CR_PILGRIM_5042_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5042_A cr_pilgrimage_resolve_stewardship_effect = yes }
	option = { name = CR_PILGRIM_5042_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A philosophical discussion
long_character_event = {
	id = SoA.5043
	title = CR_PILGRIM_5043_TITLE
	desc = CR_PILGRIM_5043_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5043_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5043_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A lost road
long_character_event = {
	id = SoA.5044
	title = CR_PILGRIM_5044_TITLE
	desc = CR_PILGRIM_5044_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5044_A cr_pilgrimage_resolve_stewardship_effect = yes }
	option = { name = CR_PILGRIM_5044_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Damaged baggage
long_character_event = {
	id = SoA.5045
	title = CR_PILGRIM_5045_TITLE
	desc = CR_PILGRIM_5045_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5045_A cr_pilgrimage_resolve_stewardship_effect = yes }
	option = { name = CR_PILGRIM_5045_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A disputed bridge toll
long_character_event = {
	id = SoA.5046
	title = CR_PILGRIM_5046_TITLE
	desc = CR_PILGRIM_5046_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5046_A cr_pilgrimage_resolve_intrigue_effect = yes }
	option = { name = CR_PILGRIM_5046_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A suspicious guide
long_character_event = {
	id = SoA.5047
	title = CR_PILGRIM_5047_TITLE
	desc = CR_PILGRIM_5047_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5047_A cr_pilgrimage_resolve_intrigue_effect = yes }
	option = { name = CR_PILGRIM_5047_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A drinking party
long_character_event = {
	id = SoA.5048
	title = CR_PILGRIM_5048_TITLE
	desc = CR_PILGRIM_5048_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5048_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5048_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A musical celebration
long_character_event = {
	id = SoA.5049
	title = CR_PILGRIM_5049_TITLE
	desc = CR_PILGRIM_5049_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5049_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5049_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A roadside romance
long_character_event = {
	id = SoA.5050
	title = CR_PILGRIM_5050_TITLE
	desc = CR_PILGRIM_5050_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5050_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5050_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Secluded companionship
long_character_event = {
	id = SoA.5051
	title = CR_PILGRIM_5051_TITLE
	desc = CR_PILGRIM_5051_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5051_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5051_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A communal sacred rite
long_character_event = {
	id = SoA.5052
	title = CR_PILGRIM_5052_TITLE
	desc = CR_PILGRIM_5052_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5052_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5052_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A group celebration
long_character_event = {
	id = SoA.5053
	title = CR_PILGRIM_5053_TITLE
	desc = CR_PILGRIM_5053_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5053_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5053_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A pilgrim bathhouse
long_character_event = {
	id = SoA.5054
	title = CR_PILGRIM_5054_TITLE
	desc = CR_PILGRIM_5054_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5054_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5054_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A village wedding
long_character_event = {
	id = SoA.5055
	title = CR_PILGRIM_5055_TITLE
	desc = CR_PILGRIM_5055_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5055_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5055_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Hostile locals
long_character_event = {
	id = SoA.5056
	title = CR_PILGRIM_5056_TITLE
	desc = CR_PILGRIM_5056_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5056_A cr_pilgrimage_resolve_martial_effect = yes }
	option = { name = CR_PILGRIM_5056_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Disputed lodging
long_character_event = {
	id = SoA.5057
	title = CR_PILGRIM_5057_TITLE
	desc = CR_PILGRIM_5057_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5057_A cr_pilgrimage_resolve_intrigue_effect = yes }
	option = { name = CR_PILGRIM_5057_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A seller of relics
long_character_event = {
	id = SoA.5058
	title = CR_PILGRIM_5058_TITLE
	desc = CR_PILGRIM_5058_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5058_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5058_B cr_pilgrimage_resolve_caution_effect = yes }
}
# An uninhibited pilgrim festival
long_character_event = {
	id = SoA.5059
	title = CR_PILGRIM_5059_TITLE
	desc = CR_PILGRIM_5059_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5059_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5059_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A calm crossing
long_character_event = {
	id = SoA.5060
	title = CR_PILGRIM_5060_TITLE
	desc = CR_PILGRIM_5060_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5060_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5060_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A violent storm
long_character_event = {
	id = SoA.5061
	title = CR_PILGRIM_5061_TITLE
	desc = CR_PILGRIM_5061_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5061_A cr_pilgrimage_resolve_martial_effect = yes }
	option = { name = CR_PILGRIM_5061_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Seasickness
long_character_event = {
	id = SoA.5062
	title = CR_PILGRIM_5062_TITLE
	desc = CR_PILGRIM_5062_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5062_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5062_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A navigation problem
long_character_event = {
	id = SoA.5063
	title = CR_PILGRIM_5063_TITLE
	desc = CR_PILGRIM_5063_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5063_A cr_pilgrimage_resolve_stewardship_effect = yes }
	option = { name = CR_PILGRIM_5063_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Shipboard prayer
long_character_event = {
	id = SoA.5064
	title = CR_PILGRIM_5064_TITLE
	desc = CR_PILGRIM_5064_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5064_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5064_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Other pilgrim passengers
long_character_event = {
	id = SoA.5065
	title = CR_PILGRIM_5065_TITLE
	desc = CR_PILGRIM_5065_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5065_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5065_B cr_pilgrimage_resolve_caution_effect = yes }
}
# The ship crew
long_character_event = {
	id = SoA.5066
	title = CR_PILGRIM_5066_TITLE
	desc = CR_PILGRIM_5066_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5066_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5066_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A dispute with the captain
long_character_event = {
	id = SoA.5067
	title = CR_PILGRIM_5067_TITLE
	desc = CR_PILGRIM_5067_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5067_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5067_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Crowded sleeping quarters
long_character_event = {
	id = SoA.5068
	title = CR_PILGRIM_5068_TITLE
	desc = CR_PILGRIM_5068_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5068_A cr_pilgrimage_resolve_intrigue_effect = yes }
	option = { name = CR_PILGRIM_5068_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A shipboard romance
long_character_event = {
	id = SoA.5069
	title = CR_PILGRIM_5069_TITLE
	desc = CR_PILGRIM_5069_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5069_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5069_B cr_pilgrimage_resolve_caution_effect = yes }
}
# An intimate fellow traveler
long_character_event = {
	id = SoA.5070
	title = CR_PILGRIM_5070_TITLE
	desc = CR_PILGRIM_5070_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5070_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5070_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A shipboard celebration
long_character_event = {
	id = SoA.5071
	title = CR_PILGRIM_5071_TITLE
	desc = CR_PILGRIM_5071_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5071_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5071_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Drinking with sailors
long_character_event = {
	id = SoA.5072
	title = CR_PILGRIM_5072_TITLE
	desc = CR_PILGRIM_5072_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5072_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5072_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A strange vessel
long_character_event = {
	id = SoA.5073
	title = CR_PILGRIM_5073_TITLE
	desc = CR_PILGRIM_5073_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5073_A cr_pilgrimage_resolve_intrigue_effect = yes }
	option = { name = CR_PILGRIM_5073_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A pirate scare
long_character_event = {
	id = SoA.5074
	title = CR_PILGRIM_5074_TITLE
	desc = CR_PILGRIM_5074_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5074_A cr_pilgrimage_resolve_martial_effect = yes }
	option = { name = CR_PILGRIM_5074_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Damage to the hull
long_character_event = {
	id = SoA.5075
	title = CR_PILGRIM_5075_TITLE
	desc = CR_PILGRIM_5075_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5075_A cr_pilgrimage_resolve_stewardship_effect = yes }
	option = { name = CR_PILGRIM_5075_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Lost supplies
long_character_event = {
	id = SoA.5076
	title = CR_PILGRIM_5076_TITLE
	desc = CR_PILGRIM_5076_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5076_A cr_pilgrimage_resolve_stewardship_effect = yes }
	option = { name = CR_PILGRIM_5076_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Generosity among passengers
long_character_event = {
	id = SoA.5077
	title = CR_PILGRIM_5077_TITLE
	desc = CR_PILGRIM_5077_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5077_A cr_pilgrimage_resolve_stewardship_effect = yes }
	option = { name = CR_PILGRIM_5077_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Fear below decks
long_character_event = {
	id = SoA.5078
	title = CR_PILGRIM_5078_TITLE
	desc = CR_PILGRIM_5078_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5078_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5078_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A sacred rite at sea
long_character_event = {
	id = SoA.5079
	title = CR_PILGRIM_5079_TITLE
	desc = CR_PILGRIM_5079_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5079_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5079_B cr_pilgrimage_resolve_caution_effect = yes }
}
# The night watch
long_character_event = {
	id = SoA.5080
	title = CR_PILGRIM_5080_TITLE
	desc = CR_PILGRIM_5080_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5080_A cr_pilgrimage_resolve_martial_effect = yes }
	option = { name = CR_PILGRIM_5080_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Contrary winds
long_character_event = {
	id = SoA.5081
	title = CR_PILGRIM_5081_TITLE
	desc = CR_PILGRIM_5081_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5081_A cr_pilgrimage_resolve_stewardship_effect = yes }
	option = { name = CR_PILGRIM_5081_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A becalmed ship
long_character_event = {
	id = SoA.5082
	title = CR_PILGRIM_5082_TITLE
	desc = CR_PILGRIM_5082_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5082_A cr_pilgrimage_resolve_stewardship_effect = yes }
	option = { name = CR_PILGRIM_5082_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Rumors of mutiny
long_character_event = {
	id = SoA.5083
	title = CR_PILGRIM_5083_TITLE
	desc = CR_PILGRIM_5083_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5083_A cr_pilgrimage_resolve_intrigue_effect = yes }
	option = { name = CR_PILGRIM_5083_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A sick sailor
long_character_event = {
	id = SoA.5084
	title = CR_PILGRIM_5084_TITLE
	desc = CR_PILGRIM_5084_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5084_A cr_pilgrimage_resolve_learning_effect = yes }
	option = { name = CR_PILGRIM_5084_B cr_pilgrimage_resolve_caution_effect = yes }
}
# Foreign pilgrims
long_character_event = {
	id = SoA.5085
	title = CR_PILGRIM_5085_TITLE
	desc = CR_PILGRIM_5085_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5085_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5085_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A moonlit deck
long_character_event = {
	id = SoA.5086
	title = CR_PILGRIM_5086_TITLE
	desc = CR_PILGRIM_5086_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5086_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5086_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A communal feast
long_character_event = {
	id = SoA.5087
	title = CR_PILGRIM_5087_TITLE
	desc = CR_PILGRIM_5087_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }

	option = { name = CR_PILGRIM_5087_A cr_pilgrimage_resolve_diplomacy_effect = yes }
	option = { name = CR_PILGRIM_5087_B cr_pilgrimage_resolve_caution_effect = yes }
}
# A sacred revel
long_character_event = {
	id = SoA.5088
	title = CR_PILGRIM_5088_TITLE
	desc = CR_PILGRIM_5088_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5088_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5088_B cr_pilgrimage_resolve_caution_effect = yes }
}
# An uninhibited shipboard festival
long_character_event = {
	id = SoA.5089
	title = CR_PILGRIM_5089_TITLE
	desc = CR_PILGRIM_5089_DESC
	picture = GFX_evt_pilgrims_epic_journey
	border = GFX_event_long_frame_religion
	is_triggered_only = yes
	trigger = { has_character_flag = cr_pilgrimage_active }
	immediate = { cr_pilgrimage_find_companion_effect = yes }

	option = { name = CR_PILGRIM_5089_A cr_pilgrimage_resolve_sacred_intimacy_effect = yes }
	option = { name = CR_PILGRIM_5089_B cr_pilgrimage_resolve_caution_effect = yes }
}
